<div class="textarea-box"  style="height: 175px;">
    <textarea   ng-style="getCurentStyle('border')"  class="textarea" ng-model="content" name="" id="" cols="30" rows="10"></textarea>
    <div class="clearfix">
    <div style="float:left;color:red"  ng-show="curLength > length"  >亲 你输入字数已超过限制哦！</div>
    <div style="float:right"><span   ng-style="getCurentStyle('msg')">{{curLength}}</span>/ <span>{{length}}</span> </div>
    </div>
</div>
</div>
<style>
    .textarea-box{
        position: relative;
        border: 0px solid #E2E0DB;
        float:left;
        width:745px;
        height:175px;
    }
    .textarea{
        border: 1px solid #E2E0DB;
        float:left;
        width:745px;
        height:150px;
        padding: 10px;
        resize: none;
    }
</style>